USE [master];
EXEC master.dbo.sp_configure 'contained database authentication', 1;
RECONFIGURE ;